//
//  UIView+Frame.h
//  SQBaseKit
//
//  Created by Seven on 2017/12/19.
//  Copyright © 2017年 Seven. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Frame)

@property(nonatomic, assign) CGFloat x;

@property(nonatomic, assign) CGFloat y;

@property(nonatomic, strong) CAShapeLayer *shapeLayer;
/*!
 *  @brief  设置视图圆角
 */
- (void)setCornerRadius:(CGFloat)cornerRadius;

- (void)setMaskCornerRadius:(CGFloat)cornerRadius;

/*!
 *  @brief  设置边框
 */
- (void)setBorderWidth:(CGFloat)borderWidth;

/*!
 *  @brief  设置边框颜色
 */
- (void)setBorderColor:(UIColor *)borderColor;

- (void)setBorderColor:(UIColor *)borderColor borderWidth:(CGFloat)borderWidth;

- (void)centerToParent;
@end
